package com.devops.admin.service;

import com.devops.admin.model.TableResult;
import com.devops.admin.po.DOSK8sIngressPo;
import com.devops.admin.vo.*;

import java.util.List;

/**
 * @ClassName DOSIngressService
 * @Description TODO
 * @Author heyabo
 * @Date 2022/9/27 16:14
 * @Version 1.0
 **/
public interface DOSK8sIngressService {

    /**
     * @Author heyabo
     * @Description 根据登录人员查询ingress
     * @Date 16:15 2022/9/27
     * @Param [pageVo]
     * @return com.devops.admin.model.TableResult<com.devops.admin.po.DOSClusterPo>
     **/
    TableResult<DOSK8sIngressPo> getIngressByUser(DOSK8sIngressVo ingressVo, DOSPageVo pageVo);

    /**
     * @Author heyabo
     * @Description 查询集群下的ingress
     * @Date 09:40 2022/9/28
     * @Param [clusterVo, pageVo]
     * @return com.devops.admin.model.TableResult<com.devops.admin.po.DOSKubernateInressPo>
     **/
    TableResult<DOSK8sIngressPo> getIngress(DOSClusterVo clusterVo, DOSPageVo pageVo);

    /**
     * @Author heyabo
     * @Description //TODO 
     * @Date 根据releaseId获取ingress信息 2022/9/28
     * @Param [namespaceChart]
     * @return com.devops.admin.po.DOSK8sInressPo
     **/
    List<DOSK8sIngressPo> getReleaseIngress(DOSNamespaceChart namespaceChart);
}
